package com.woniu.cq.medical.service;

import com.woniu.cq.medical.entity.Medicine;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lucas
 * @since 2020-09-05
 */
public interface MedicineService extends IService<Medicine> {
    /**
     * 根据药名模糊查询药品
     * @param MedicineName
     * @return 药品的集合
     */
    List<Medicine> selectMedicineLikeName(String MedicineName);

    /**
     * 根据药品名字和规格找出对应的药品
     * @param MedicineName
     * @param ProductFormat
     * @return
     */
    Medicine selectMedicineLikeNameAndProductFormat(String MedicineName,String ProductFormat);

}
